﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Addresses_Insert.ascx.cs" Inherits="CustomAddresses_Insert" %>

    <style type="text/css">
        .DDTextBox{ font-weight:normal; color:Red}
    </style>
    
    <div class="ExampleView">   
        The following row layout is obtained using a custom entity template defined in the 
        ~/DynamicData/EntityTemplates/Addresses_Insert.ascx control.
    </div>

    <br /><br />

    <tr class="DDLightHeader">
        <td colspan="4" align="center" style="color:Blue">Insert Address Entry</td>
    </tr>

   
     <%-- Address entry --%>
    <tr class="DDLightHeader" >
        <td style="color:Blue" > 
            <asp:Label ID="Label1" runat="server"  Text="Address:" />
        </td>
        <td colspan="3">
            <asp:DynamicControl Mode="Insert"   OnLoad="DynamicControl_Load" 
                ID="DynamicControl2" runat="server" DataField="AddressLine1" />
        </td>
    </tr>


    <%-- City and State/Province and Postal entries --%>
    <tr class="DDLightHeader">
        <td style="color:Blue"> 
            <asp:Label ID="Label2" runat="server"  Text="City:" />
        </td>

        <td>
            <asp:DynamicControl Mode="Insert" OnLoad="DynamicControl_Load" 
                ID="DynamicControl1" runat="server" DataField="City" />
        </td>

        <td style="color:Blue"> 
            <asp:Label ID="Label3" runat="server"  Text="State/Province:" />
        </td>
        <td>
            <asp:DynamicControl Mode="Insert" OnLoad="DynamicControl_Load" 
                ID="DynamicControl7" runat="server" DataField="StateProvince" />
        </td>
    </tr>

     <%-- Country/Region and Postal Code entries --%>
    <tr class="DDLightHeader">
        <td style="color:Blue"> 
            <asp:Label ID="Label4" runat="server"  Text="Country/Region:" />
        </td>
        <td>
            <asp:DynamicControl Mode="Insert" OnLoad="DynamicControl_Load"  
                ID="DynamicControl5" runat="server" DataField="CountryRegion" />
        </td>

        <td style="color:Blue"> 
            <asp:Label ID="Label5" runat="server"  Text="Postal Code:" />
        </td>
        <td>
            <asp:DynamicControl Mode="Insert" OnLoad="DynamicControl_Load"  
                ID="DynamicControl6" runat="server" DataField="PostalCode" />
        </td>
    </tr>
